package com.zb.uniman.mapper;

import com.zb.uniman.aop.AuthCheck;
import com.zb.uniman.aop.TimeCheck;
import com.zb.uniman.model.Bank;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.uniman.model.BankCount;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author a1823
* @description 针对表【bank】的数据库操作Mapper
* @createDate 2023-11-27 18:40:38
* @Entity com.zb.uniman.model.Bank
*/
@Mapper
public interface BankMapper extends BaseMapper<Bank> {
@TimeCheck
    List<BankCount> selectBankCount();

    List<Bank> selectSub1();

    List<Bank> selectSub2();

//    SELECT * FROM bank WHERE id in (1,2,3,4);
//    SELECT * FROM bank WHERE id between 1 and 4;

}




